package org.llc.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.boot.SpringApplication;

/**
 * 用户授权认证服务
 * @author llc
 * @date 2021-04-18
 * @since 1.0.0
 */
@ComponentScan("org.llc")
@EnableFeignClients
@EnableTransactionManagement
@EnableAsync
@MapperScan("org.llc.user.dao")
@SpringCloudApplication
public class AuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class, args);
    }

}

